You may ‘block’ or ‘unblock’ any unit or group. Blocking means that XTension will ignore any X-10 messages which come in addressed to that unit and will not allow any script to change or issue commands to that unit.
block unit "All Outside Alarms"
Unblocking reverses this logic, and allows normal behavior.
unblock unit "All Outside Alarms"
You may at any time issue the command ‘Unblock All Units’. This will re-enable any and all devices which may have been blocked.
You might wish to prevent any outside light from coming on while it was clearly ‘daylight’.
if status of "Daylight" is true then
block unit "All Outside Lights"
end if
( this might also be done in the "Sunrise" script... )
If you had several chimes as alarms, you might want to block some of them according to your current location. If you're in the bedroom, then you may not want alarms going off all over the house.